package utils

import (
	"strconv"
	"time"
)

func Int8ToString(id interface{})  string {
	str := strconv.Itoa(int(id.(int8)))
	return str
}

func Int64ToTime(timeInt int64) string {
	timeobj := time.Unix(timeInt, 0)
	date := timeobj.Format("2006-01-02 15:04:05")
	return date
}